package cn.hairui.fastms.core.bean;

import cn.hairui.fastms.core.annotation.Dict;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 系统消息
 * </p>
 *
 * @author lihairui
 * @since 2021-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SMsg对象", description = "系统消息")
public class SMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "消息编码")
    @TableId("MSG_CDE")
    private String msgCde;

    @ApiModelProperty(value = "状态码")
    @TableField("STATUS_CODE")
    private Integer statusCode;

    @ApiModelProperty(value = "提示")
    @TableField("TITLE")
    private String title;

    @ApiModelProperty(value = "消息内容")
    @TableField("MESSAGE")
    private String message;

    @ApiModelProperty(value = "模块")
    @TableField("PARAM_BLOCK")
    @Dict(dictCode = "ZB_SYS_MODULE")
    private String paramBlock;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATE_USER")
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private String updateTime;


}
